package com.sdy.healthcode.biz.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.healthcode.biz.dto.PersonMana;
import com.sdy.healthcode.biz.model.ApplyPost;
import com.sdy.mvc.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zzq
 * @since 2020-02-18
 */
public interface ApplyPostMapper extends BaseMapper<ApplyPost> {

    List<PersonMana> getPersonals(@Param("type") Integer type,
                                  @Param("healthStatus") Integer healthStatus,
                                  @Param("name") String name,
                                  @Param("startTime") String startTime,
                                  @Param("endTime") String endTime,
                                  Page page);

    Integer getPersonCount(@Param("type") Integer type,
                           @Param("healthStatus") Integer healthStatus,
                           @Param("name") String name,
                           @Param("startTime") String startTime,
                           @Param("endTime") String endTime);
}
